Framework (A-Z)

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Name

noAnalogWrite()

Examples
...

noAnalogWrite(29);  // stops PWM output for pin 29

...
Description The noAnalogWrite() method stops the PWM output of a PWM output pin. On Wiring v1 boards the PWM capable pins are: 29, 30, 31, 35, 36 and 37. On Wiring S board the PWM capable pins are: 4, 5, 6, 7, 19 and 20. Note: noAnalogWrite is an alias for PWMOff() command.
Syntax
noAnalogWrite(pin)
Parameters
pin int: The PWM output pin number
Returns None
Usage Application
Related analogWrite()
setPWMResolution()
setPWMPrescale()
analogRead()
Updated on July 07, 2011 11:08:43pm PDT

Creative Commons License